package com.xgry.bpm.api.base.formlist.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("form_list")
public class FormList extends Model<FormList> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "formListId", type = IdType.AUTO)
    private Integer formListId;

    @TableField("createTime")
    private LocalDate createTime;

    @TableField("formName")
    private String formName;

    @TableField("processInstanceId")
    private String processInstanceId;

    private String buttons;

    @TableField("openId")
    private String openId;

    @TableField("formTypes")
    private String formTypes;

    @TableField("cTableName")
    private String cTableName;

    @TableField("processName")
    private String processName;

    @TableField("processId")
    private String processId;

    @TableField("deploymentId")
    private String deploymentId;

    @TableField("diagramResourceName")
    private String diagramResourceName;

    @TableField("cTree")
    private String cTree;

    @TableField("cTreeField")
    private String cTreeField;

    @TableField("cTreeStruct")
    private String cTreeStruct;

    @TableField("referenceField")
    private String referenceField;

    @TableField("modelId")
    private Integer modelId;

    @TableField("formView")
    private String formView;

    @TableField("formViewSql")
    private String formViewSql;

    @TableField("findQuery")
    private String findQuery;


    @Override
    protected Serializable pkVal() {
        return this.formListId;
    }

}
